<template>
  <div id="app">
    <!-- 轮播图 -->
    <div class="carboard">
      <div class="wapper">
        <div class="text">
          <div>
            欢迎访问武汉科技大学2022年樱花节专题网站！(第六届)主办单位：武汉科技大学
          </div>
          <a href="https://www.wust.edu.cn/2021yhj/"
            ><span>往届链接：2021年樱花节</span></a
          >
          <!-- <img src="./assets/imgs/headlogo.png" alt=""> -->
        </div>
      </div>

      <el-carousel height="388px">
        <el-carousel-item v-for="(item, index) in photo" :key="index">
          <img :src="item" alt="" width="100%" height="100%" />
        </el-carousel-item>
      </el-carousel>
    </div>

    <div class="nav">
      <ul>
        <router-link to="/yhj"
          ><li><span>首页</span></li></router-link
        >
        <router-link to="/yhj/Page0"
          ><li><span>直播回顾</span></li></router-link
        >
        <router-link to="/yhj/Page1"
          ><li><span>樱园漫步</span></li></router-link
        >
        <router-link to="/yhj/Page2"
          ><li><span>樱·书法</span></li></router-link
        >
        <router-link to="/yhj/Page3"
          ><li><span>樱·绘画</span></li></router-link
        >
        <router-link to="/yhj/Page4"
          ><li><span>樱·社团</span></li></router-link
        >
        <router-link to="/yhj/Page5"
          ><li><span>樱·摄影</span></li></router-link
        >
        <router-link to="/yhj/Page6"
          ><li><span>樱·诗词</span></li></router-link
        >
      </ul>
    </div>

    <div class="nav-aside">
      <ul>
        <router-link to="/yhj"
          ><li><span>首页</span></li></router-link
        >
        <router-link to="/yhj/Page0"
          ><li><span>直播回顾</span></li></router-link
        >
        <router-link to="/yhj/Page1"
          ><li><span>樱园漫步</span></li></router-link
        >
        <router-link to="/yhj/Page2"
          ><li><span>樱·书法</span></li></router-link
        >
        <router-link to="/yhj/Page3"
          ><li><span>樱·绘画</span></li></router-link
        >
        <router-link to="/yhj/Page4"
          ><li><span>樱·社团</span></li></router-link
        >
        <router-link to="/yhj/Page5"
          ><li><span>樱·摄影</span></li></router-link
        >
        <router-link to="/yhj/Page6"
          ><li><span>樱·诗词</span></li></router-link
        >
        <a href="#"><img src="../src/assets/imgs/fhdb.jpg" alt="" /></a>
      </ul>
    </div>

    <router-view></router-view>

    <div class="bottomText">
      <p>
        Copyright@ 2017-2022　2022年“樱花节”特别专题-武汉科技大学樱花节 　All
        Rights Reserved
      </p>
      <p>地址：武汉市青山和平大道947 邮编：430081 鄂ICP备05003334-1</p>
      <p class="t3">活动摄影：龚太平、朱磊、周云、陈春、陈洪元</p>
      <p>
        <a href="https://wustlinghang.cn/" target="_blank" id="wustlh"
          >&copy;武汉科技大学领航工作室提供技术支持</a
        >
      </p>
    </div>
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {
      photo: [
        require("./assets/imgs/spinner1.jpg"),
        require("./assets/imgs/spinner2.jpg"),
        require("./assets/imgs/spinner3.jpg"),
      ],
    };
  },
};
</script>

<style lang="less" scoped>
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
input {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

body {
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  color: #333;
}

ul,
ol {
  list-style: none;
}

em,
i {
  font-style: normal;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  vertical-align: middle;
}

input {
  border: none;
  outline: none;
  color: #333;
}

#app {
  user-select: none;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: -8px;
}

.wapper {
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 34px;
  background-color: rgb(255, 134, 174);
  .text {
    position: relative;
    display: flex;
    width: 1200px;
    justify-content: space-between;
    img {
      position: absolute;
      z-index: 999;
      width: 1200px;
      height: 258px;
      top: 35px;
      left: -155px;
    }
    div {
      color: #fff;
      line-height: 34px;
      font-size: 14px;
    }
    span {
      color: #fff;
      line-height: 34px;
      font-size: 14px;
    }
    span:hover {
      color: rgb(255, 85, 85);
    }
  }
}

.bottomText {
  margin: 0;
  padding-top: 30px;
  width: 100%;
  height: 180px;
  background-color: rgb(255, 134, 174);
  p {
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    line-height: 30px;
    #wustlh {
      font-size: 15px;
      color: #ffffff;
      text-align: center;
      line-height: 30px;
    }
  }
  .t3 {
    margin-top: 20px;
  }
}

.nav {
  width: 100%;
  height: 81px;
  background-color: rgb(255, 134, 174);
  ul {
    display: flex;
    width: 1200px;
    height: 81px;
    margin: auto;
    li {
      width: 165px;
      height: 81px;
      span {
        font-size: 20px;
        font-weight: normal;
        color: #fff;
        line-height: 81px;
      }
    }
    li:hover {
      background-color: #f77897;
    }
  }
}

.nav-aside {
  z-index: 9999;
  position: fixed;
  right: 0;
  bottom: 100px;
  ul {
    width: 108px;
    li {
      width: 108px;
      height: 43px;
      margin-bottom: 1px;
      background-color: rgb(255, 134, 174);
      span {
        font-size: 14px;
        color: #fff;
        line-height: 42px;
        border-bottom: 1px solid #fff;
        text-align: center;
        display: block;
      }
    }
    li:hover {
      background-color: #f77897;
    }
  }
}
</style>
